<#-- @ftlvariable name="entity" type="com.xci.edu.core.entity.ExamRecord" -->
<#include "/sys/_layout.ftl">
<!doctype html>
<html>
<head>
    <@pageHeader/>
</head>
<body>
<@pageLoading/>
<div class="jxpanel winpanel" data-fit="true">
    <form id="editform" class="jxform" method="post"
          action="${saveUrl("/background/examRecord/","createSave","updateSave")}">
        <input name="id" value="${entity.id}" type="hidden">
        <table class="table jxtable-form">
            <tr>
                <th class="w-100px">学员主键</th>
                <td>
                    <input class="form-control" id="studentId" name="studentId" value="${entity.studentId}" maxlength="" data-validate="required: [true,'请输入学员主键']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>学员姓名</th>
                <td>
                    <input class="form-control" id="studentName" name="studentName" value="${entity.studentName}" maxlength="50" data-validate="required: [true,'请输入学员姓名']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>学员证件号码</th>
                <td>
                    <input class="form-control" id="studentIdNumber" name="studentIdNumber" value="${entity.studentIdNumber}" maxlength="20" data-validate="required: [true,'请输入学员证件号码']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>试卷主键</th>
                <td>
                    <input class="form-control" id="paperId" name="paperId" value="${entity.paperId}" maxlength="" data-validate="required: [true,'请输入试卷主键']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>试卷名称</th>
                <td>
                    <input class="form-control" id="paperName" name="paperName" value="${entity.paperName}" maxlength="50" data-validate="required: [true,'请输入试卷名称']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>科目主键</th>
                <td>
                    <input class="form-control" id="eduCategoryId" name="eduCategoryId" value="${entity.eduCategoryId}" maxlength="" data-validate="required: [true,'请输入科目主键']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>科目名称</th>
                <td>
                    <input class="form-control" id="eduCategoryName" name="eduCategoryName" value="${entity.eduCategoryName}" maxlength="50" data-validate="required: [true,'请输入科目名称']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>学员考试分数</th>
                <td>
                    <input class="form-control" id="examScore" name="examScore" value="${entity.examScore}" maxlength="" data-validate="required: [true,'请输入学员考试分数']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>学员考试结果[0-不及格, 1-及格]</th>
                <td>
                    <input class="form-control" id="examResult" name="examResult" value="${entity.examResult}" maxlength="" data-validate="required: [true,'请输入学员考试结果[0-不及格, 1-及格]']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>开考时间</th>
                <td>
                    <input class="form-control" id="examStartDateTime" name="examStartDateTime" value="${entity.examStartDateTime}" maxlength="" data-validate="required: [true,'请输入开考时间']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>交卷时间</th>
                <td>
                    <input class="form-control" id="examEndDateTime" name="examEndDateTime" value="${entity.examEndDateTime}" maxlength="" data-validate="required: [true,'请输入交卷时间']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>开始用时(分钟)</th>
                <td>
                    <input class="form-control" id="examDuration" name="examDuration" value="${entity.examDuration}" maxlength="" data-validate="required: [true,'请输入开始用时(分钟)']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>状态[0-未开始, 1-考试中, 1-已交卷]</th>
                <td>
                                            <label>
                            <input class="jxcheck" name="status" ${web.isChecked(entity.status)} type="checkbox" value="1" data-unchecked-value="0"/> 启用
                        </label>
                                    </td>
            </tr>
        </table>
    </form>
    <div class="panel-footer text-right">
        <@editFormDialogCommand/>
    </div>
</div>
<@editFormPageFooter/>
</body>
</html>
